<?

/* base class for response from controller */

class Response {
    
    protected $cookies = array(); 
    protected $headers = array();
        
    function setCookie($cookie) {
        $this->cookies[] = $cookie;
    }

    function getCookies() {
        return $this->cookies;
    }    
    
    function setHeader($header) {
        $this->headers[] = $header;
    }
    
    function getHeaders() {
        return $this->headers;
    }
    
}